/**
 * Created Date: Friday, April 7th 2023, 12:28:08 am
 * Author: CodingGorit
 * -----
 * Last Modified: Sat Apr 08 2023
 * Modified By: CodingGorit
 * -----
 * Copyright © 2019 —— 2023 fmin-courses All Rights Reserved
 * ------------------------------------
 * Javascript will save your soul!
 */
import { RouteRecordRaw } from 'vue-router';
import Home from '@/views/Home.vue';
import childrens from './children';

const routes: Array<RouteRecordRaw> = [{
    path: "/",
    redirect: "/login"
},
{
    path: "/login",
    name: 'Login',
    component: () => import('@/views/Login.vue')
}, {
    path: "/home",
    name: 'Home',
    component: Home,
    redirect: '/welcome',
    children: childrens
}];


export default routes;